<template>
  <!-- 流程实例-->
  <div class="app-container calendar-list-container">
    <basic-container>
      <iframe class="iframe-flow" id="bdIframe" frameborder="no" border="0" :src="url"></iframe>
    </basic-container>
  </div>
</template>
<script>
  export default {
    name: 'flow_list_definition',
    data() {
      return {
         url:'/scabpm/agilebpm-ui/bpm/instance/instanceList.html',
      }
    },
    mounted() {
      const oIframe = document.getElementById('bdIframe');
      const deviceHeight = document.documentElement.clientHeight;
      oIframe.style.height = (Number(deviceHeight)) + 'px'; //数字是页面布局高度差
    }
  }
</script>
<style lang="scss" scoped>
  .iframe-flow {
    width: 100%;
    height: 100%;
  }
</style>
